package hcn.protocol.ods.ehc;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 电子健康卡公共响应参数
 * Created by yanglj on 2019/3/1.
 */
@XmlRootElement(name = "ehcResponse")
public class EhcResponse {
    private String code;//返回结果码
    private String message;//返回结果说明
    private String method;//接口名称
    private String app_id;//应用编号
    //private String term_id;//终端编号
    private String version;//接口版本号
    private String timestamp;//请求时间戳
    private String digest_type;//摘要类型
    private String digest;//摘要值
    private String enc_type;//加密类型
    private String biz_content;//请求参数集合

    @XmlElement(name = "code")
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @XmlElement(name = "message")
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @XmlElement(name = "method")
    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    @XmlElement(name = "app_id")
    public String getApp_id() {
        return app_id;
    }

    public void setApp_id(String app_id) {
        this.app_id = app_id;
    }

    /*@XmlElement(name = "term_id")
    public String getTerm_id() {
        return term_id;
    }

    public void setTerm_id(String term_id) {
        this.term_id = term_id;
    }*/

    @XmlElement(name = "version")
    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @XmlElement(name = "timestamp")
    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    @XmlElement(name = "digest_type")
    public String getDigest_type() {
        return digest_type;
    }

    public void setDigest_type(String digest_type) {
        this.digest_type = digest_type;
    }

    @XmlElement(name = "digest")
    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    @XmlElement(name = "enc_type")
    public String getEnc_type() {
        return enc_type;
    }

    public void setEnc_type(String enc_type) {
        this.enc_type = enc_type;
    }

    @XmlElement(name = "biz_content")
    public String getBiz_content() {
        return biz_content;
    }

    public void setBiz_content(String biz_content) {
        this.biz_content = biz_content;
    }
}
